﻿using System;

namespace Ecobee.Net
{
	/// <summary>
	/// The page requested in the request is invalid. Occurs if the page is 
	/// less than 1 or more than the number of available pages for the request.
	/// </summary>
	public class InvalidPage : ResponseCodeException
	{
		/// <summary>
		/// Initializes a new instance of the Ecobee.Net.InvalidPage class.
		/// </summary>
		public InvalidPage(Exception innerException)
			: base(10, innerException, "The page requested in the request is invalid. Occurs if the page is less than 1 or more than the number of available pages for the request.")
		{
		}
	}
}
